package com.netwit.shiro.jwt.token.service;

import com.netwit.shiro.jwt.util.ResponseBean;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("token/api")
public interface TokenService {
    @RequestMapping(value = "check", method = RequestMethod.POST)
    public ResponseBean checkToken(@RequestParam("token") String token);
}
